﻿using System.Windows;
using X.Infrastructure.Shapes;

namespace X.WPF.Controls.EventArgs.CanvasShapeArgs
{
    /// <summary>
    /// 画布型状拖拽改变事件参数
    /// </summary>
    public class CanvasShapeDragChangingEventArgs : RoutedEventArgs
    {
        #region # 构造器

        #region 00.创建画布型状拖拽改变事件参数构造器
        /// <summary>
        /// 创建画布型状拖拽改变事件参数构造器
        /// </summary>
        public CanvasShapeDragChangingEventArgs(RoutedEvent routedEvent, object source, ShapeX shape)
            : base(routedEvent, source)
        {
            this.Shape = shape;
        }
        #endregion

        #endregion

        #region # 属性

        #region 画布型状 —— ShapeX Shape 
        /// <summary>
        /// 画布型状
        /// </summary>
        public ShapeX Shape { get; set; }

        #endregion

        #endregion

    }
}